<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="/struts-dojo-tags" prefix="sx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>添加</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/css.css" type="text/css" />
<script type="text/javascript" src="js/jquery-1.7.2.min.js" ></script>
<sx:head parseContent="true"/>
</head>

<body>
		<s:form action="updateStudent.action" method="post" name="form_NO1"  enctype="multipart/form-data">
		<s:hidden name="studentInfo.fid"></s:hidden>
		<s:hidden name="studentInfo.photo"></s:hidden>
		<s:hidden name="studentEduBG.fid"></s:hidden>
		<s:hidden name="studentEduBG.studentId"></s:hidden>
		<s:hidden name="edudegree.fid"></s:hidden>
		<s:hidden name="edudegree.studentId"></s:hidden>
		<s:hidden name="edudegree.paper"></s:hidden>
		<s:hidden name="studentContent.fid"></s:hidden>
		<s:hidden name="studentContent.studentId"></s:hidden>
		<TABLE cellSpacing=0 cellPadding=5 width="100%" border=0>
			<TR>
				<TD>
					<strong>当前位置：管理首页 &gt; 学生信息管理 &gt; 学生信息修改</strong>
				</TD>
			</TR>
			<TR>
				<TD height=2></TD>
			</TR>
		</TABLE>
		<table width="100%" border="0" align="center" cellpadding=2 cellspacing=1 class=tableBorder style="background-color: #d6dff7">
			<tr>
				<th align=center colspan=6 style="height: 23px">
					学生信息修改
				</th>
			</tr>
			<tr bgcolor="#DEE5FA">
				<td id="no_changecol" colspan="6" align="left" class=txlrow>
					<STRONG><s:if test="msg==1">修改成功!</s:if><s:if test="msg==2">修改失败!</s:if></STRONG>&nbsp;
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<table width="100%">
						<tr>
							<td width="19">
								&nbsp;
							</td>
							<td width="112" height="1">
								<font ><img src="images/write/arrow.gif"
										width="8" height="7"> <font size="2">学号</font>
								</font>
							</td>
							<td width="380">
								<s:textfield name="studentInfo.stuNo"></s:textfield>
							</td>
							<td><s:fielderror cssStyle="color: red"><s:param>studentInfo.stuNo</s:param></s:fielderror></td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td   width="10%" height="1"  background="images/list/dotted_line.gif">
							</td>
						</tr>
					</table>
					<table width="100%">
						<tr>
							<td width="19">
								&nbsp;
							</td>
							<td width="112" height="1">
								<font ><img src="images/write/arrow.gif"
										width="8" height="7"> </font><font size="2"
									>姓名</font>
							</td>
							<td width="380">
								<s:textfield   name="studentInfo.name"></s:textfield>
							</td>
							<td><s:fielderror cssStyle="color: red"><s:param>studentInfo.name</s:param></s:fielderror></td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="10%" height="1"
								background="images/list/dotted_line.gif">
							</td>
						</tr>
					</table>
					<table width="100%">
						<tr>
							<td width="19">
								&nbsp;
							</td>
							<td width="112" height="1">
								<font ><img src="images/write/arrow.gif"
										width="8" height="7"> </font><font size="2"
									>性别</font>
							</td>
							<td width="380">
								<s:radio list="{'男','女'}" name="studentInfo.sex"  ></s:radio>
							</td>
							<td><s:fielderror cssStyle="color: red"><s:param>studentInfo.sex</s:param></s:fielderror></td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="10%" height="1"
								background="images/list/dotted_line.gif">
							</td>
						</tr>
					</table>
					<table width="100%">
						<tr>
							<td width="19">
								&nbsp;
							</td>
							<td width="112" height="1">
								<font ><img src="images/write/arrow.gif"
										width="8" height="7"> </font><font size="2"
									>生日</font>
							</td>
							<td width="380">
								<sx:datetimepicker  name="studentInfo.birthday"  type="date"  displayFormat="yyyy-MM-dd"   ></sx:datetimepicker>
							</td>
							<td><s:fielderror cssStyle="color: red"><s:param>studentInfo.birthday</s:param></s:fielderror></td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="10%" height="1"
								background="images/list/dotted_line.gif">
							</td>
						</tr>
					</table>
					<table width="100%">
						<tr>
							<td width="19">
								&nbsp;
							</td>
							<td width="112" height="1">
								<font ><img src="images/write/arrow.gif"
										width="8" height="7"> </font><font size="2"
									>院系</font>
							</td>
							<td width="380">
								<s:select list="selDepartment" name="studentInfo.departmentId" listKey="code" listValue="name"></s:select>
							</td>
							<td><s:fielderror cssStyle="color: red"><s:param>studentInfo.departmentId</s:param></s:fielderror></td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="10%" height="1"
								background="images/list/dotted_line.gif">
							</td>
						</tr>
					</table>
					<table width="100%">
						<tr>
							<td width="19">
								&nbsp;
							</td>
							<td width="112" height="1">
								<font ><img src="images/write/arrow.gif"
										width="8" height="7"> </font><font size="2"
									>照片(1寸)</font>
							</td>
							<td width="380">
								<s:file name="upfile" accept="image/bmp,image/png,image/gif,image/jpeg,image/pjpeg"></s:file>
							</td>
							<td rowspan="2"><s:fielderror  cssStyle="color: red"><s:param>upfile</s:param></s:fielderror></td>
						</tr>
						<tr>
							<td width="19">
								&nbsp;
							</td>
							<td width="112" height="1">
								<font ><img src="images/write/arrow.gif"
										width="8" height="7"> </font><font size="2"
									>毕业论文</font>
							</td>
							<td width="380">
								<s:file name="upfile" accept="application/x-zip-compressed,application/octet-stream"></s:file>
							</td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td   width="10%" height="1"  background="images/list/dotted_line.gif">
							</td>
						</tr>
					</table>
					<table width="100%">
						<tr>
							<td width="19">
								&nbsp;
							</td>
							<td width="112" height="1">
								<font ><img src="images/write/arrow.gif"
										width="8" height="7"> <font size="2">教育背景</font>
								</font>
							</td>
							<td >
								学校:<s:textfield   name="studentEduBG.schoolName"></s:textfield>
								开始:<sx:datetimepicker  name="studentEduBG.startTime"  type="date"  displayFormat="yyyy-MM"   />
								结束:<sx:datetimepicker  name="studentEduBG.endTime"  type="date"  displayFormat="yyyy-MM"    />
							</td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td   width="10%" height="1"  background="images/list/dotted_line.gif">
							</td>
						</tr>
					</table>
					<table width="100%">
						<tr>
							<td width="19">
								&nbsp;
							</td>
							<td width="112" height="1">
								<font ><img src="images/write/arrow.gif"
										width="8" height="7"> <font size="2">学籍学历</font>
								</font>
							</td>
							<td >
								学籍:<s:textfield  maxlength="32"  name="edudegree.enrollment" />
								学历:<s:textfield  maxlength="8"   name="edudegree.degree" />
							</td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td   width="10%" height="1"  background="images/list/dotted_line.gif">
							</td>
						</tr>
					</table>
					<table width="100%">
						<tr>
							<td width="19">
								&nbsp;
							</td>
							<td width="112" height="1">
								<font ><img src="images/write/arrow.gif"
										width="8" height="7"> <font size="2">奖罚</font>
								</font>
							</td>
							<td >
								<s:radio list="{'奖','罚'}" name="studentContent.content"  ></s:radio>
								时间:<sx:datetimepicker  name="studentContent.getDate"   type="date"  displayFormat="yyyy-MM-dd"   />
							</td>
						</tr>
						<tr>
							<td width="19">
								&nbsp;
							</td>
							<td width="112" height="1" valign="top">
								<font ><br> <img
										src="images/write/arrow.gif" width="8" height="7"> </font><font
									 size="2">奖罚描述信息</font>
							</td>
							<td>
								<s:textarea name="studentContent.msg" cols="60" rows="10"></s:textarea>
							</td>
						</tr>
					</table>
					<table width="100%">
						<tr background="images/list/dotted_line.gif">
							<td colspan="5" background="images/list/dotted_line.gif"
								height="1"></td>
						</tr>
						<tr>
							<td width="19">
								&nbsp;
							</td>
							<td width="112">
								<img src="images/write/arrow.gif" width="8" height="7">
								<font size="2" >&nbsp;</font>
							</td>
							<td colspan="3">
								<input type="image" src="images/write/20080524152859536.gif" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
			</s:form>
	</body>
</html>